#pragma once
#include<iostream>
using namespace std;

class Date
{
public:
	Date(int year, int month, int day);
	bool operator==(Date d);
	bool operator>(Date d);
	bool operator>=(Date d);
	bool operator<(Date d);
	bool operator<=(Date d);
	bool operator!=(Date d);
	int GetDay();
	Date& operator+=(int d);
	Date operator+(int d);
	Date& operator++();
	Date operator++(int);
	Date operator-(Date d);
	Date operator-=(Date d);

private:
	int _year;
	int _month;
	int _day;
};